package com.ocom.wxapi.client;


import com.ocom.common.constant.AiotUrl;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "aiot")
public interface AiotClientService {

    // 3.2.SaaS平台激活(禁用)设备(SetDeviceStatusBySaas)
    // 3.2.SaaS平台激活(禁用)消费设备(SetXfDeviceStatusBySaas)
    @PostMapping(AiotUrl.Url_Aiot_SetMjDeviceStatusBySaas)
    Result SetMjDeviceStatusBySaas(@Validated @RequestBody Map<String,Object> map);

}
